package cn.jmz.micpro.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

@EntityScan("cn.jmz.micpro.entity.db")
@EnableJpaRepositories("cn.jmz.micpro.jpa")
@SpringBootApplication(scanBasePackages = {
        "cn.jmz.micpro.jpa",
        "cn.jmz.micpro.service",
        "cn.jmz.micpro.controller"
        })
public class ServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
    }

}
